//
//  DetailView.h
//  UI-21-豆豆豆瓣
//
//  Created by dllo on 15/11/6.
//  Copyright © 2015年 Wang Hao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Movie.h"

@protocol DetailViewDelegate <NSObject>

-(void)collect;

@end

@interface DetailView : UIView

@property (nonatomic, retain) UIImageView *headImageView;
@property (nonatomic, retain) UILabel *nameLabel;
@property (nonatomic, retain) UILabel *genresLabel;
@property (nonatomic, retain) UILabel *countryLabel;
@property (nonatomic, retain) UILabel *runtimeLabel;
@property (nonatomic, retain) UILabel *ratingLabel;
@property (nonatomic, retain) UILabel *rating_countLabel;
@property (nonatomic, retain) UILabel *release_dateLabel;
@property (nonatomic, retain) UILabel *actorsLabel;
@property (nonatomic, retain) UILabel *plot_simpleLabel;
@property (nonatomic, retain) Movie *movDetail;
@property (nonatomic, retain) UIButton *collectButton;
@property (nonatomic , assign) CGFloat height;
+(CGFloat)heightForPlot:(NSString *)plot;
@property (nonatomic, assign) id<DetailViewDelegate>collectDelegate;

@end
